﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Automted_Bank_teller
{
    class Registeration_Process :DatabaseConnection
    {

        static public string fname;
        static public string mname;
        static public string lname;
        static public string phone;
        static public string address;
        static public string governmnet;
        static public string city;
        static public string email;
        static public string ssn;
        static public string client_id;
        static public string pin_code;
        static public float balance;


        public void insert_data_for_Clientregister()
        {
            

            cmd.CommandText = String.Format("insert into Clients values('{0}','{1}','{2}','{3}','{4}','{5}','{6}','{7}','{8}','{9}','{10}','{11}')", fname, mname, lname, phone, address, governmnet, city, email, ssn, client_id, pin_code, balance);

        }

        public void ExecuteQuery()//
        {
            cmd.ExecuteNonQuery();
            
        }

    }
}
